package cn.aixuegao.web.admin;

import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import cn.aixuegao.model.user.User;
import cn.aixuegao.service.admin.ColumnService;

@Controller
@RequestMapping(value="/column")
public class ColumnController {
	
	@Autowired
	ColumnService columnService;
	
	/*@RequestMapping(value="/getColumnTree/{id}",method=RequestMethod.GET)
	@ResponseBody
	public Map<String,Object> getColumnTree(@PathVariable(value="id") Integer userId) {
		User user = new User();
		user.setId(userId);
		Map<String,Object> columnTree = columnService.getColumnTree(user);
		return columnTree;
	}*/
}
